package callers.esi;

import java.util.Random;

public class CTIDGenerator
{

    private static int COUNT = 100000;

    /**
     * @param args
     */
    public static void main(String[] args) {

        for (int i = 0; i < COUNT; i++) {
            System.out.println(generateCTID());
        }
        // String.format("%10s", "foo").replace(' ', '*');
        // String.format("%-10s", "bar").replace(' ', '*');
        // String.format("%10s", "longer than 10 chars").replace(' ', '*');
    }

    public static String generateCTID() {

        long x = 1000000000000000L;
        long y = 9000000000000000L;
        Random r = new Random();
        long number = x + (long) (r.nextDouble() * (y - x));
        return String.valueOf(number);
    }
}
